<div class="search-block">
    <div class="logo">
        <a href="{:U('Index/index')}"><img src="__PUBLIC__/template/images/zx-logo.png" alt=""></a>
    </div>
    <div class="shop-cart">
        <a href="{:U('Cart/lst')}" class="shopcart-logo" id="cart_list">
            <img src="__PUBLIC__/template/images/shopcart.png" alt="">&nbsp;&nbsp;&nbsp;购物车
            <span class="shopcart-number cart-count hidden" id="count"></span>
        </a>
        <div class="shopcart-null cart-content"  id="cart_div_list" style="display: none;">
            <div class="remind">
                购物车中还没有商品,快快选购吧!
                <img src="__PUBLIC__/template/images/smile.png" alt="">
            </div>
        </div>

    </div>
    <!-- 搜索 -->
    <div class="search">
        <div class="search-icon">
            <div class="input-block">
                <form  name="search" method="get" class="fl">
                    <input type="text" id="key" name="key" placeholder="搜索您需要的商品">
                </form>
            </div>
            <div class="button-block">
                <button type="button" data-action="/list.html?"
                        onclick="location.href='<?php echo U('Search/key_search', '',FALSE); ?>/key/'+$('#key').val();">
                    <img src="__PUBLIC__/template/images/Search.png" alt="">
                </button>
            </div>
        </div>
    </div>
</div>